<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* VulnerabilityState File
* PHP version 7
*
* @category  Library
* @package   Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license   https://opensource.org/licenses/MIT MIT License
* @version   GIT: 1.4.0
* @link      https://graph.microsoft.io/
*/
namespace Microsoft\Graph\Model;
/**
* VulnerabilityState class
*
* @category  Model
* @package   Microsoft.Graph
* @copyright © Microsoft Corporation. All rights reserved.
* @license   https://opensource.org/licenses/MIT MIT License
* @version   Release: 1.4.0
* @link      https://graph.microsoft.io/
*/
class VulnerabilityState extends Entity
{
    /**
    * Gets the cve
    *
    * @return string The cve
    */
    public function getCve()
    {
        if (array_key_exists("cve", $this->_propDict)) {
            return $this->_propDict["cve"];
        } else {
            return null;
        }
    }

    /**
    * Sets the cve
    *
    * @param string $val The value of the cve
    *
    * @return VulnerabilityState
    */
    public function setCve($val)
    {
        $this->_propDict["cve"] = $val;
        return $this;
    }
    /**
    * Gets the severity
    *
    * @return string The severity
    */
    public function getSeverity()
    {
        if (array_key_exists("severity", $this->_propDict)) {
            return $this->_propDict["severity"];
        } else {
            return null;
        }
    }

    /**
    * Sets the severity
    *
    * @param string $val The value of the severity
    *
    * @return VulnerabilityState
    */
    public function setSeverity($val)
    {
        $this->_propDict["severity"] = $val;
        return $this;
    }
    /**
    * Gets the wasRunning
    *
    * @return bool The wasRunning
    */
    public function getWasRunning()
    {
        if (array_key_exists("wasRunning", $this->_propDict)) {
            return $this->_propDict["wasRunning"];
        } else {
            return null;
        }
    }

    /**
    * Sets the wasRunning
    *
    * @param bool $val The value of the wasRunning
    *
    * @return VulnerabilityState
    */
    public function setWasRunning($val)
    {
        $this->_propDict["wasRunning"] = $val;
        return $this;
    }
}
